<div id="nav-col">
    <div class="navbar-collapse collapse" id="sidebar-nav">
        <ul class="nav nav-pills nav-stacked">
            <li>
                <a href="/admin/">
                    <i class="fa fa-dashboard"></i>
                    <p>控制台</p>
                </a>
            </li>
            @foreach($backendSideNav as $sideNav)
                <li>
                    <a href="javascript:;" class="dropdown-toggle">
                        <i class="fa fa-file-text-o"></i>
                        <p>{{ $sideNav['name'] }}<span class="caret"></span></p>
                    </a>
                    @if(isset($sideNav['children']))
                        <ul class="submenu">
                            @foreach($sideNav['children'] as $subSideNav)
                                <li data-permission-action="order-show">
                                    <a href="{{ route($subSideNav['route_name']) }}">{{ $subSideNav['name'] }}</a>
                                </li>
                            @endforeach
                        </ul>
                    @endif
                </li>
            @endforeach
        </ul>
    </div>
    <div class="background"></div>
</div>
